import {DEFAULT_QUERY_OPTION, DEFAULT_HIGH_QUERY_OPTION} from './constants';
const state = {
    domainData: {
        initData: {
            message: '',
            isFetching: false,
            workItemCategoryTypes: [],
        },
        workItems: {
            isFetching: false,
            message: '',
            total: 0,
            data: []
        },
        workItemProductCategories: {
            isFetching: false,
            message: '',
            total: 0,
            data: []
        },
        detail: {
            isFetching: false,
            message: '',
            data: {}
        },
        permission: {
            isFetching: false,
            message: '',
            data: []
        },
        categories: {
            isFetching: false,
            message: '',
            data: []
        },
        productCategories: {
            isFetching: false,
            message: '',
            data: []
        },
    },
    appState: {
        queryCondition: DEFAULT_QUERY_OPTION,
        queryBySort: DEFAULT_QUERY_OPTION,
        queryHighCondition: DEFAULT_HIGH_QUERY_OPTION,
        queryHighBySort: DEFAULT_HIGH_QUERY_OPTION,
    },
    ui: {
        showTree: false
    }
};
export default state;
